package com.mediacloud.app.newsmodule.view.share

import android.app.Activity
import android.graphics.Bitmap
import android.widget.AdapterView
import com.mediacloud.app.model.news.ArticleItem
import com.mediacloud.app.share.model.ShareGridItem
import com.mediacloud.app.share.view.SharePopGridWindow

interface IPosterSharePop {
    fun isPosterShareMode(): Boolean
    fun setPosterShareMode(posterMode: Boolean)
   // fun setShareGirdListener(listener: AdapterView.OnItemClickListener?)
    fun isShowing(): Boolean
    fun setShareGridAdaptorData(data: List<ShareGridItem>?)
    fun setFuncGridAdaptorData(data: List<ShareGridItem>?)
    fun setonFuncItemClick(listener: SharePopGridWindow.OnGridItemClickListener)
    fun show(view: Activity)
    fun dismiss()
    fun updateData(article: ArticleItem,bitmap: Bitmap?)
    fun saveImage()
    fun shareImage(share_media: Int)
    fun setClickDismiss(boolean: Boolean)

    companion object {
        const val TYPE_NORMAL = 0
        const val TYPE_MIC_LIVE = 1
    }
}